package com.graduate.after.mapper;

import com.graduate.after.bean.CategoryDetailInfo;
import com.graduate.after.bean.CategoryInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CategoryInfoMapper {

    List<CategoryInfo> selectAllStairCategory();

    List<CategoryInfo> selectSecondByParentId(Integer parentId);

    List<CategoryDetailInfo> selectCategoryDetailInfo(Long id);
}
